package com.chixing.ih.module.programmer.mapper;

import com.chixing.ih.module.programmer.mapper.provider.TechnologyCreditMapperProvider;
import com.chixing.ih.module.programmer.pojo.dto.TechnologyCreditDTO;
import com.chixing.ih.module.programmer.pojo.dto.TechnologyCreditListDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 刘岩
 * Date: 2020-10-01
 * Time: 10:36
 *
 * @version 1.0
 */


@Mapper
public interface TechnologyCreditMapper {

    @SelectProvider(type = TechnologyCreditMapperProvider.class, method = "listOrdNum")
    List<TechnologyCreditDTO> listOrdNum(long receiveTaskUserId);

    @SelectProvider(type = TechnologyCreditMapperProvider.class, method = "listChargebackOrdNum")
    List<TechnologyCreditDTO> listChargebackOrdNum(long receiveTaskUserId);

    @SelectProvider(type = TechnologyCreditMapperProvider.class, method = "listPosComNum")
    List<TechnologyCreditDTO> listPosComNum(long userEvaluatedId);

    @SelectProvider(type = TechnologyCreditMapperProvider.class, method = "listTotalIntegral")
    List<TechnologyCreditDTO> listTotalIntegral(long userEvaluatedId);


}
